package com.fram.mapper;

import java.util.List;

import com.fram.bean.api.advertising.request.AdvertisingDisplaySearchRequest;
import com.fram.bean.api.advertising.response.AdvertisingDisplaySearchResponse;
import com.fram.entity.SysAdvertisingDisplay;

public interface SysAdvertisingDisplayMapper {

	int deleteByPrimaryKey(Long id);

	int insert(SysAdvertisingDisplay record);
	/**后台-增加**/
	int insertSelective(SysAdvertisingDisplay record);
	/**后台 根据di 查询详情**/
	SysAdvertisingDisplay selectByPrimaryKey(Long id);
	/**后台-修改**/
	int updateByPrimaryKeySelective(SysAdvertisingDisplay record);
	
	int updateByPrimaryKey(SysAdvertisingDisplay record);

	/** 前端查询广告 **/
	List<AdvertisingDisplaySearchResponse> listForApi(AdvertisingDisplaySearchRequest request);
	
	/** 后台- 分页列表查询 **/
	List<SysAdvertisingDisplay> listAdvertising(SysAdvertisingDisplay request);
}